﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Globalization;
using System.Web.UI.WebControls;

namespace Reconciliation.PackingAndUnpacking.Users_Control
  
 
{     
   

    public partial class HeadMenu : System.Web.UI.UserControl
    {
        private int _menuID = 0;
       // private static DateTime _Time =   ConsensioConst.CurrentDate;
        public int MenuID
        {
            get
            {
                return _menuID;
            }
            set
            {
                _menuID = value;
            }
        }
        protected void Page_Load(object sender, EventArgs e)
        {
            InitDate();
            InitMenu();

        }
        private void InitDate()
        {
          
            day1.Text = BasePage.FormatDate(DateTime.Today);//,CultureInfo.InvariantCulture);
            weekday1.Text =DateTime.Today.DayOfWeek.ToString().Remove(3);
            //time1.Text = DateTime.Today.TimeOfDay.ToString();
            Update_Date.Text = BasePage.FormatDate(DateTime.Today);
            Update_Time.Text = BasePage.FormatTime(DateTime.Now);//ToShortTimeString();

        }
       private void  InitMenu()
        {
            if (MenuID == 0)
            { aPacking.Attributes.Add("class", "on"); }
            //if (MenuID == 1)
         
        }

    }

}